package com.woniuxy.charin.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName customers
 */
@TableName(value ="customers")
@Data
public class Customers implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String loginAccount; //登录账号

    private String customerName; //用户名

    private String phoneNumber; //手机号
    private String avatar; // 用户头像URL
    private Integer isinvestor; //是否为投资商
    private BigDecimal balance;
    private Integer points; //积分

    private Integer hasChargingCard; //是否有充电卡

    private String accountLevel; //账户等级

    private String realNameVerification;//实名认证

    @TableField(fill = FieldFill.INSERT) //插入时填充
    private Date createTime;//创建时间

    private String  gender;//性别
    private String  idCard;//身份证号
    private String  address;//地址

    private static final long serialVersionUID = 1L;//序列化

}